Related example macros: Demo-Datasource, Demo-Slideshow
There are three kinds of variables in Internet Macros:
1. Built-in variables
These variables are used to define certain properties of the macro behavior, for example the macro timeout value:
SET !TIMEOUT 33
A complete list of all built-in variables is available.
2. !VAR1, !VAR2, !VAR3
These there variables can be defined with the set command
SET !VAR1 hello<SP>world
and later you can use these variable in any place inside the macro
3. User-defined Variables [PRO and SCRIPTING Edition]
These variables are created "on the fly" by the command line switch "-var_MYVAR <value>".
Example:
-var_ITEM 15
creates the variable {{ITEM}} and gives it the value 15.
These variables can be part of ANYTHING inside the macro. For example, you can add them as part of the "ATTR=" string in a TAG or EXTRACT command or as part of the GOTO statement.
Example: URL GOTO=https://www.myonlinestore.com/?shoppingcart={{cartnumber}}&item={{item}}